{include file="public/header" title="我的"/}

<div id="my">
    <!--个人信息-->
    <div class="my-head layui-clear">
        <p><a href=""><span class="sun sun-liuyan"></span></a></p>
        <div class="left">
            <a href="{:url('extends_code')}">
                <img src="{$user['head_img']}" alt="">
            </a>
        </div>
        <div class="right">
            <h4>{$user['nickname']}</h4>
            <p>
                <i class="sun sun-vip"></i>
                {$user['group_name']}
            </p>
        </div>
    </div>
    <!--余额-->
    <div class="money layui-clear">
        <div>
            <a href="{:url('my_money',['type'=>'one'])}">
                <h4><em></em>可用余额</h4>
                <p>{:number_format($user['money'],2)}</p>
            </a>
        </div>
        <div>
            <a href="{:url('my_money',['type'=>'two'])}">
                <h4><em></em>交易金额</h4>
                <p>{:number_format($user['integral'],2)}</p>
            </a>
        </div>
    </div>
    <!--收货、付款、售后、订单-->
    <div class="slide layui-clear">
        <ul>
            <li>
                <a href="{:url('Order/index',['status'=>'0'])}">
                    <p>
                        <i class="sun sun-daifukuan"></i>
                    </p>
                    <h4>待付款<b>1</b></h4>
                </a>
            </li>
            <li>
                <a href="{:url('Order/index',['status'=>'1'])}">
                    <p><i class="sun sun-yishouhuo"></i></p>
                    <h4>待收货<b>16</b></h4>
                </a>
            </li>
            <li>
                <a href="#">
                    <p><i class="sun sun-pingjia-copy"></i></p>
                    <h4>待评价<b>1</b></h4>
                </a>
            </li>
            <li>
                <a href="{:url('Order/index',['status'=>'4_5_6_7_8_9_10'])}">
                    <p><i class="sun sun-shouhouwuyou"></i></p>
                    <h4>退换/售后<b>1</b></h4>
                </a>
            </li>
            <li>
                <a href="{:url('order/index')}">
                    <p><i class="sun sun-dingdan"></i></p>
                    <h4>我的订单</h4>
                </a>
            </li>
        </ul>
    </div>

    <!--更多-->
    <div class="bottom">
        <ul>
            <li>
                <a href="{:url('extends_money')}">
                    <span class="sun sun-erweima"></span>推广赚钱
                    <span class="sun sun-enter"></span>
                </a>
            </li>
            <li>
                <a href="{:url('my_equipment')}">
                    <span class="sun sun-icon"></span>我的设备
                    <span class="sun sun-enter"></span>
                </a>
            </li>
            <li>
                <a href="{:url('my_withdrawals')}">
                    <span class="sun sun-qian"></span>提现
                    <span class="sun sun-enter"></span>
                </a>
            </li>
            <li>
                <a href="{:url('my_money',['type'=>'all'])}">
                    <span class="sun sun-jiaoyiguanli"></span>交易记录
                    <span class="sun sun-enter"></span></a>
            </li>
            <li>
                <a href="">
                    <span class="sun sun-group_fill"></span>我的团队
                    <span class="sun sun-enter"></span>
                </a>
            </li>
            <li>
                <a href="{:url('my_address')}">
                    <span class="sun sun-wodeshouhuodizhi"></span>收货地址管理
                    <span class="sun sun-enter"></span>
                </a>
            <li>
                <a href="{:url('my_new')}">
                    <span class="sun sun-feedback" style="font-size: 26px;margin: 0 0 0 -2px;"></span>新手必读
                    <span class="sun sun-enter"></span>
                </a>
            </li>
        </ul>
    </div>
</div>

<script>
    mui.init({
        swipeBack: true //启用右滑关闭功能
    });
</script>
{include file="public/footer_nav"/}
{include file="public/footer"/}